package com.realdolmen.whiteyellowcross.model;

public class WaitWorkShiftDayPlan {
	private String id;
	private WaitWorkShift workShift;
	private Personel personel;
	
	public WaitWorkShiftDayPlan(String id, WaitWorkShift workShift,
			Personel personel) {
		super();
		this.id = id;
		this.workShift = workShift;
		this.personel = personel;
	}

	

	public WaitWorkShift getWorkShift() {
		return workShift;
	}

	public void setWorkShift(WaitWorkShift workShift) {
		this.workShift = workShift;
	}

	public Personel getPersonel() {
		return personel;
	}

	public void setPersonel(Personel personel) {
		this.personel = personel;
	}
	
	@Override
	public String toString() {
		StringBuilder result = new StringBuilder();
		
		result.append(workShift.toString());
		result.append(personel.toString());
		
		return result.toString();
	}

}
